package com.kyjszj.core.utils;

import javax.servlet.http.HttpServletRequest;

public class ThemeUtil {

    public static String buildWebUrl(HttpServletRequest request, String url) {
        String theme = kyjszjPropertiesUtil.getConfig("web.default.theme");
        if (StringUtils.isEmpty(theme)) {
            theme = "default";
        }
        return "modules/shop/" + theme + "/" + url;
    }
}
